package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 主板股票详细对象 stock_main_board_detail
 * 
 * @author ruoyi
 * @date 2025-06-29
 */
public class StockMainBoardDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 股票详细ID */
    private Long detailId;

    /** 涨幅 */
    @Excel(name = "涨幅")
    private BigDecimal limitUp;

    /** 开盘价 */
    @Excel(name = "开盘价")
    private BigDecimal openPx;

    /** 最高价 */
    @Excel(name = "最高价")
    private BigDecimal highPx;

    /** 最低价 */
    @Excel(name = "最低价")
    private BigDecimal lowPx;

    /** 收盘价 */
    @Excel(name = "收盘价")
    private BigDecimal lastPx;

    /** 记录天数 */
    @Excel(name = "记录天数")
    private Long day;

    /** 主板ID */
    @Excel(name = "主板ID")
    private Long mainId;

    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }

    public void setLimitUp(BigDecimal limitUp) 
    {
        this.limitUp = limitUp;
    }

    public BigDecimal getLimitUp() 
    {
        return limitUp;
    }

    public void setOpenPx(BigDecimal openPx) 
    {
        this.openPx = openPx;
    }

    public BigDecimal getOpenPx() 
    {
        return openPx;
    }

    public void setHighPx(BigDecimal highPx) 
    {
        this.highPx = highPx;
    }

    public BigDecimal getHighPx() 
    {
        return highPx;
    }

    public void setLowPx(BigDecimal lowPx) 
    {
        this.lowPx = lowPx;
    }

    public BigDecimal getLowPx() 
    {
        return lowPx;
    }

    public void setLastPx(BigDecimal lastPx) 
    {
        this.lastPx = lastPx;
    }

    public BigDecimal getLastPx() 
    {
        return lastPx;
    }

    public void setDay(Long day) 
    {
        this.day = day;
    }

    public Long getDay() 
    {
        return day;
    }

    public void setMainId(Long mainId) 
    {
        this.mainId = mainId;
    }

    public Long getMainId() 
    {
        return mainId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("limitUp", getLimitUp())
            .append("openPx", getOpenPx())
            .append("highPx", getHighPx())
            .append("lowPx", getLowPx())
            .append("lastPx", getLastPx())
            .append("day", getDay())
            .append("mainId", getMainId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
